package com.rdtravel.exceptions;

import java.util.Collections;
import java.util.List;

public class TripsToImportInvalidException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	private final List<String> errors;

	public TripsToImportInvalidException(List<String> errors) {
		this.errors = errors;
	}

	public List<String> getErrors() {
		return Collections.unmodifiableList(errors);
	}

}
